//
//  UILabel+TP_LQYlabel.m
//  TimePrints
//
//  Created by 梁前勇 on 2017/12/7.
//  Copyright © 2017年 microdreams. All rights reserved.
//

#import "UILabel+TP_LQYlabel.h"

@implementation UILabel (TP_LQYlabel)

+(UILabel *)CreatLabeltext:(NSString *)text Font:(UIFont *)font Textcolor:(UIColor *)color textAlignment:(NSTextAlignment)textAlignment
{
    UILabel * label = [[UILabel alloc]init];
    if (textAlignment != 0) {
        label.textAlignment=textAlignment;

    }
    label.text =text;
    label.textColor = color;
    label.font = font;
    return label;
}
@end
